val ktorVersion: String by project
val telegramVersion: String by project
val ktormVersion: String by project
val log4jVersion: String by project
val junitVersion: String by project
val kredisVersion: String by project
val kotlinCoroutinesVersion: String by project
val mockkVersion: String by project
val koinVersion: String by project

repositories {
    mavenCentral()
    google()
    maven { url = uri("https://jitpack.io") }
}

dependencies {

    implementation(project(mapOf("path" to ":data_assistant")))
    implementation(project(mapOf("path" to ":bot")))

    // Ktor
    implementation("io.ktor:ktor-server-core:$ktorVersion")
    implementation("io.ktor:ktor-server-netty:$ktorVersion")

    // KTOR-CLIENT
    implementation("io.ktor:ktor-client-core:$ktorVersion")
    implementation("io.ktor:ktor-client-okhttp-jvm:$ktorVersion")
    implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
    implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")

    // KOTLIN SERIALIZATION
    implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
    implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")

    // Koin
    implementation("io.insert-koin:koin-core:$koinVersion")
    implementation(project(mapOf("path" to ":common")))
}



